import java.util.Scanner;

public class program1 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.print("Enter a degree in Celsius: ");
        double c = in.nextDouble();
        double f = c * 9 / 5.0 + 32;
        System.out.printf("%.1f Celsius is %.1f Fahrenheit%n", c, f);
    }
}
